package com.gitee.hermer.engine.jars.core.autoconfigure.annotate;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.annotation.Conditional;
import org.springframework.core.env.Environment;

import com.gitee.hermer.engine.jars.core.autoconfigure.condition.OnPropertyCondition;


@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@Documented
@Conditional(OnPropertyCondition.class)
public @interface ConditionalOnProperty {


	String[] value() default {};

	
	String prefix() default "";

	
	String[] name() default {};


	String havingValue() default "";


	boolean matchIfMissing() default false;


	boolean relaxedNames() default true;

}
